package com.edu.neusoft.cookbook.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.neusoft.cookbook.common.ResponseResult;
import com.edu.neusoft.cookbook.dto.RecipesDTO;
import com.edu.neusoft.cookbook.dto.UserDto;
import com.edu.neusoft.cookbook.entity.Recipes;
import com.edu.neusoft.cookbook.entity.User;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * ClassName: UserService
 * Package: com.atyukaijun.flowers.service
 * Description:
 *
 * @Author 麻了跺跺脚
 * @Create 2024/12/3 9:40
 * @Version 1.0
 */

public interface UserService extends IService<User> {

    ResponseResult login(UserDto userDto, HttpSession session);

    List<Recipes> getFavouriteRecipesByUserId(Integer userId);
}
